package com.yycx.module.bus.provider.handler.custombond;

import com.yycx.common.base.entity.EntityMap;
import com.yycx.common.base.module.export.ExportField;
import com.yycx.common.base.utils.FlymeUtils;
import com.yycx.common.mybatis.interceptor.ExportInterceptor;
import com.yycx.common.mybatis.interceptor.PageInterceptor;
import com.yycx.common.mybatis.model.PageParams;
import com.yycx.common.mybatis.query.CriteriaQuery;
import com.yycx.common.security.OpenHelper;
import com.yycx.module.bus.client.entity.BusOrderDetails;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * 已关联保证金订单
 *
 * @author zyf
 */
@Component("customBondOrderListHandler")
public class CustomBondOrderListHandler implements PageInterceptor<BusOrderDetails>{


    @Override
    public void prepare(CriteriaQuery<BusOrderDetails> cq, PageParams pageParams, EntityMap params) {
        Long bzjId = params.getLong("bzjId");
        cq.eq(true, "bod.bzjId", bzjId);
    }


}
